package org.输入输出练习;

import java.util.Scanner;

/**
 * @Auther: qingle
 * @Date: 2024/8/19-12:18
 * @Description: 请你构造一个长度为n 的正整数数组，使得其元素之和为 m 。
 * @version: 1.0
 */
public class PIO18_单组_spj判断数组之和 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int m = in.nextInt();
		for (int i = 0; i < n-1; i++) {
			System.out.print("1 ");
		}
		System.out.print(m-(n-1));
	}
}
